home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / Command.h.z / Command.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  78 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: Command.h /main/12 1995/07/14 10:16:15 drk $ */
  12. /*
  13. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  14. /*
  15. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  16. #ifndef _XmCommand_h
  17. #define _XmCommand_h
  18.  
  19. #include <Xm/Xm.h>
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. /* Class record constants */
  26.  
  27. externalref WidgetClass xmCommandWidgetClass;
  28.  
  29. typedef struct _XmCommandClassRec * XmCommandWidgetClass;
  30. typedef struct _XmCommandRec      * XmCommandWidget;
  31.  
  32.  
  33. #ifndef XmIsCommand
  34. #define XmIsCommand(w)  (XtIsSubclass (w, xmCommandWidgetClass))
  35. #endif
  36.  
  37.  
  38.  
  39. /********    Public Function Declarations    ********/
  40.  
  41. extern Widget XmCreateCommand( 
  42.                         Widget parent,
  43.                         String name,
  44.                         ArgList al,
  45.                         Cardinal ac) ;
  46. extern Widget XmCommandGetChild( 
  47.                         Widget widget,
  48. #if NeedWidePrototypes
  49.                         unsigned int child) ;
  50. #else
  51.                         unsigned char child) ;
  52. #endif /* NeedWidePrototypes */
  53. extern void XmCommandSetValue( 
  54.                         Widget widget,
  55.                         XmString value) ;
  56. extern void XmCommandAppendValue( 
  57.                         Widget widget,
  58.                         XmString value) ;
  59. extern void XmCommandError( 
  60.                         Widget widget,
  61.                         XmString error) ;
  62. extern Widget XmCreateCommandDialog( 
  63.                         Widget ds_p,
  64.                         String name,
  65.                         ArgList fsb_args,
  66.                         Cardinal fsb_n) ;
  67.  
  68.  
  69. /********    End Public Function Declarations    ********/
  70.  
  71.  
  72. #ifdef __cplusplus
  73. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  74. #endif
  75.  
  76. #endif /* _XmCommand_h */
  77. /* DON'T ADD ANYTHING AFTER THIS #endif */
  78.